export default defineAppConfig({
  pages: [
    'pages/index/index',
    // "pages/user/index",
    // "pages/forgot/index",
    // "pages/register/index",
    // "pages/login/index",
    'pages/classMgt/index',
    'pages/classMgt/infoMgt/index',
    'pages/classMgt/infoCheck/index',
    'pages/classMgt/infoCheck/examDetail/index',
    'pages/schoolMgt/index',
    'pages/schoolMgt/infoMgt/index',
    // 'pages/exam/result/index',
    // 'pages/exam/index',
    'pages/personalizedAdvice/index'
    // 'pages/studentReport/index'
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#4683ff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'white'
  },
  tabBar: {
    custom: true,
    color: '#000000',
    selectedColor: '#000000',
    backgroundColor: '#000000',
    list: [
      {
        selectedIconPath: 'static/img/user/icon_a.png',
        iconPath: 'static/img/user/icon_n.png',
        pagePath: 'pages/classMgt/index',
        text: '班级总览'
      },
      {
        selectedIconPath: 'static/img/user/icon2_a.png',
        iconPath: 'static/img/user/icon2_n.png',
        pagePath: 'pages/classMgt/infoCheck/index',
        text: '信息核对'
      },
      {
        selectedIconPath: 'static/img/user/icon_a.png',
        iconPath: 'static/img/user/icon_n.png',
        pagePath: 'pages/schoolMgt/index',
        text: '本校总览'
      },
      {
        selectedIconPath: 'static/img/user/icon1_a.png',
        iconPath: 'static/img/user/icon1_n.png',
        pagePath: 'pages/personalizedAdvice/index',
        text: '个性化建议'
      },
      {
        selectedIconPath: 'static/img/user/icon2_a.png',
        iconPath: 'static/img/user/icon2_n.png',
        pagePath: 'pages/schoolMgt/infoMgt/index',
        text: '信息管理'
      }
    ]
  },
  subPackages: [
    {
      root: 'subPackages',
      pages: [
        'pages/register/index',
        'pages/forgot/index',
        'pages/user/index',
        'pages/studentReport/index'
      ]
    },
    {
      root: 'subPackagesB',
      pages: ['pages/exam/result/index', 'pages/exam/index']
    }
  ]
})
